getApp();

Page({
    data: {},
    onReady: function() {
        this.cart = this.selectComponent("#cartBox");
    },
    onPullDownRefresh: function() {
        this.cart.pullDownRefresh();
    },
    onReachBottom: function() {
        this.cart.reachBottom();
    },
    onUnload: function() {
        this.cart.unload();
    }
});